define(function(ko) {

	var achievement = function(achievementId, achieved) {
		var self = this;
		
		self.achievementId = achievementId;
		
		self.achieved = achieved;
		
		self.equals = function(achievement) {
			return self.achievementId == achievement.achievementId;
		};
	};

	return achievement;
	
});